package CrowdCountingMVC.CCModel.Task.ImageTask;

import CrowdCountingMVC.CCModel.CrowdCountingModel;

import java.io.File;

public class LoadCrowdImageAndNotifyTask extends LoadImageAndNotifyTask {
    public LoadCrowdImageAndNotifyTask(CrowdCountingModel ccm, String imagePathRoot) {
        super(ccm, imagePathRoot);
    }

    @Override
    public void setImageAndNotify(File imageFile) {
        crowdCountingModel.setCrowdImageFile(imageFile);
        crowdCountingModel.notifyCrowdShowObserver();
    }
}
